package com.sanben.demand.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author cyh
 * @description: comment_reply 评论回复表实体类
 * @date: 2020-08-18
 */
@Data
@ApiModel(value = "CommentReply对象", description = "comment_reply 评论回复表")
@TableName("comment_reply")
public class CommentReply {

    @ApiModelProperty(value = "评论id")
    private Integer commentId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "用户头像")
    private String userPortrait;

    @ApiModelProperty(value = "回复人id")
    private Integer replyUserId;

    @ApiModelProperty(value = "回复人名称")
    private String replyUserName;

    @ApiModelProperty(value = "回复人头像")
    private String replyUserPortrait;

    @ApiModelProperty(value = "回复内容")
    private String content;

    @ApiModelProperty(value = "回复时间")
    private LocalDateTime createTime;
}
